//
//  GJTypeView.m
//  GJLifeSimple
//
//  Created by MacBook on 16/6/18.
//  Copyright © 2016年 GoodJob. All rights reserved.
//

#import "GJTypeView.h"

@implementation GJTypeView

- (instancetype) initWithFrame:(CGRect)frame {

    self = [super initWithFrame:frame];
    if (self) {
        
        [self setupUI];
    }

    return self;
}

- (void)awakeFromNib {
    [self setupUI];
    
}

#pragma mark--设置界面
- (void)setupUI {

    UICollectionViewLayout *layout = [[UICollectionViewLayout alloc] init];
    
    UICollectionView *cv = [[UICollectionView alloc] initWithFrame:CGRectZero collectionViewLayout:layout];
    
    [self addSubview:cv];


}
@end
